120 PRINT "Press C for Mypro's Catalog.";TAB(53)"Hit any key to continue...":Y$=INPUT$(1):IF Y$="C" OR Y$="c" THEN 130 ELSE 390
130 CLS:LOCATE 3,25:COLOR 15:PRINT "M Y P R O ' S C A T A L O G":COLOR 7:OPEN "CATALOG.ASC" FOR INPUT AS #1
140 LOCATE 13,16:PRINT "Do you wish Catalog to print on ";:COLOR 31:PRINT "S";:COLOR 7:PRINT "creen or ";:COLOR 31:PRINT "P";:COLOR 7:PRINT "rinter ";
150 Y$=INKEY$:IF Y$="" OR LEN(Y$)>1 THEN 150
160 IF Y$="S" OR Y$="s" THEN CON=1:PAGELEN = 18:GOTO 220
170 IF Y$="P" OR Y$="p" THEN CON=2:PAGELEN = 54:PRINT Y$:GOTO 190
180 GOTO 150
190 LOCATE 16,22:PRINT "Do you want to pause for paper change ";:Y$=INPUT$(1):IF Y$="Y" OR Y$="y" THEN PRI=1
200 LOCATE 18,25:COLOR 15:PRINT "Is the Printer on and ready (Y/N) ";
210 Y$=INPUT$(1):IF Y$="Y" OR Y$="y" THEN 230 ELSE 210
220 CLS:LOCATE 1,25:COLOR 15:PRINT "M Y P R O ' S C A T A L O G":COLOR 7:PRINT STRING$(79,196):PRINT
230 IF CON=2 THEN LPRINT TAB(24) "M Y P R O ' S C A T A L O G":LPRINT STRING$(79,95):LPRINT
240 FOR I= 1 TO PAGELEN
250 LINE INPUT #1,A$
260 IF EOF(1) THEN 300
270 IF CON=1 THEN PRINT TAB(4)A$ ELSE LPRINT TAB(4)A$
280 NEXT I:IF CON=2 THEN LPRINT CHR$(12)
290 IF PRI=1 THEN LOCATE 25,28:PRINT "Press any key to continue ";:Y$=INPUT$(1)
300 IF CON=1 THEN LOCATE 25,28:PRINT "Press any key to continue ";:Y$=INPUT$(1):CLS:LOCATE 1,25:COLOR 15:PRINT "M Y P R O ' S C A T A L O G":COLOR 7:PRINT STRING$(79,196):PRINT
310 IF CON=2 AND A$<>"END" THEN LPRINT TAB(25) "M Y P R O ' S C A T A L O G":LPRINT TAB(4)STRING$(79,95):LPRINT
320 IF EOF(1) THEN RUN ELSE LOCATE 25,1:PRINT SP$;:LOCATE 4,1:GOTO 240
1340 QU$="":FOR I=1 TO LEN(E$):Y=ASC(MID$(E$,I,1)):IF Y>96 THEN Y=Y-32
1350 QU$=QU$+CHR$(Y):NEXT I:E$=QU$:RETURN
1360 C=INT(RND*8+1):D=INT(RND*8+1):A(C,D)=1
1370 A=A(C,D) '---- Reads value port
1380 ON A GOSUB 1700,1720,2000,2290,1820,1840,1850,1640
1390 IF KL=0 THEN 2330
1400 IF G<=0 THEN 1670 ' ----Check if Broke
1410 COL=C*5+17:RO=D*2+2:LOCATE RO,COL:COLOR 31:PRINT CHR$(157):COLOR 7 '---- Prints Position of time ship
1420 MES$="Your move "+A$:R=24:GOSUB 1140
1430 LOCATE 25,1:PRINT SP$;:LOCATE 25,8:COLOR 15:PRINT CHR$(24);:COLOR 7:PRINT" North ";:COLOR 15:PRINT CHR$(25);:COLOR 7:PRINT" South ";:COLOR 15:PRINT CHR$(26);:COLOR 7:PRINT" East "; ' ---- Message Line # 25
1440 COLOR 15:PRINT CHR$(27);:COLOR 7:PRINT" West ";:COLOR 15:PRINT"Esc";:COLOR 7:PRINT" Escape";
1450 LOCATE 11,5:PRINT YY:LOCATE 11,62:PRINT USING "####";G '---- Prints Gold amount
1460 Y$=INKEY$:IF Y$="" THEN 1460
1470 IF RO>1 AND COL>1 THEN LOCATE RO,COL:PRINT SQ$(A) '---- Prints Port type
1480 M1=M1+1:IF K=0 AND M1>70 THEN GOSUB 1320:GOTO 1920
1490 IF LEN(Y$)>1 THEN Y=ASC(RIGHT$(Y$,1)):GOTO 1510
1500 Y=ASC(Y$):IF Y=27 THEN 490 ELSE M1=M1-1:GOTO 1460
1510 GOSUB 1120:IF Y=72 THEN 1520 ELSE IF Y=80 THEN 1580 ELSE IF Y=77 THEN 1550 ELSE IF Y=75 THEN 1610 ELSE M1=M1-1:GOTO 1460
1520 IF A=6 THEN PRINT TAB(25)"You are in an East-West corridor":GOTO 1390
1530 IF (D-1)=0 THEN PRINT TAB(28)"You are at the North wall":GOTO 1690
1540 D=D-1:GOTO 1370
1550 IF A=5 THEN PRINT TAB(25)"You are in a North-South corridor":GOTO 1390
1560 IF (C+1)=9 THEN PRINT TAB(28)"You are at the East wall":GOTO 1690
1570 C=C+1:GOTO 1370
1580 IF A=6 THEN PRINT TAB(25)"You are in an East-West corridor":GOTO 1390
1590 IF (D+1)=9 THEN PRINT TAB(28)"You are at the South wall":GOTO 1690
1600 D=D+1:GOTO 1370
1610 IF A=5 THEN PRINT TAB(25)"You are in a North-South corridor":GOTO 1390
1620 IF (C-1)=0 THEN PRINT TAB(28)"You are at the West wall":GOTO 1690
1630 C=C-1:GOTO 1370
1640 IF K=1 THEN 1930
1650 BEEP:LOCATE 25,1:PRINT SP$;:COLOR 15:LOCATE 25,11:PRINT"You cannot exit the Time Zone, you don't have the Key of Time";:COLOR 7:SEC=2:GOSUB 1130:GOTO 1390
1660 BEEP:LOCATE 25,1:PRINT SP$;:COLOR 15:LOCATE 25,25:PRINT"Sorry, you are not at an Exit portal";:COLOR 7:SEC=2:GOSUB 1130:GOTO 1390
1670 GOSUB 1120:PRINT TAB(6)"You lost all your Gold and you are locked in this Time Zone forever." ' -----GOLD ZERO
1680 PRINT TAB(28)"Do you wish another game ? ";:GOSUB 1100:IF Y=1 THEN 1240 ELSE END
1690 BEEP:PRINT TAB(17)"You cannot pass through, try another direction":GOTO 1390
1700 KT=INT(RND*9+1):GOSUB 1120:PRINT TAB(24)"You are in a glowing Time Portal"
1710 PRINT TAB(20)"the light is fading, the portal is Inactive":IF A=1 THEN RETURN ELSE 1730
1720 PRINT TAB(26)"You are in a dust filled portal":GOTO 1710
1730 PRINT TAB(22)"A fellow traveler is in this chamber"
1740 TD=INT(RND*10+1):G1=INT(RND*350+1):IF G-G1<0 THEN G1=G
1750 Y=INT(RND*8+1):IF Y<=6 THEN 1790
1760 PRINT TAB(11)"He is unfriendly and as he leaves he steals ";G1;" Gold pieces":SEC=2:GOSUB 1130
1770 G=G-G1:IF TD=5 AND K=0 THEN GOSUB 1120:PRINT TAB(18)"You search the chamber and find the Key of Time":K=1
1780 RETURN
1790 PRINT TAB(18)"He is friendly and gives you ";G1;" Gold pieces.":G=G+G1:IF TD=5 AND K=0 THEN SEC=1.5:GOSUB 1130:GOSUB 1120:PRINT TAB(18)"He also gives you the Key of Time":K=1:PRINT TAB(24)"and wishes you a safe journey home":SEC=1.5:GOSUB 1130
1800 RETURN
1810 GOSUB 1120:PRINT TAB(18)"You search the chamber and find the Key of Time":K=1:RETURN
1820 GOSUB 1120:PRINT TAB(15)"You enter a North-South corridor ";
1830 PRINT "thru a Secret door":PRINT TAB(23)"The door closes and locks behind you":RETURN
1840 GOSUB 1120:PRINT TAB(15)"You enter an East-West corridor ";:GOTO 1830
1850 GOSUB 1120:PRINT TAB(18)"You entered ..a Time Warp .. in this chamber" '-----TRAP
1860 TD=INT(RND*9+1):IF TD<8 THEN PRINT TAB(23)"Boy you're lucky it didn't activate":RETURN
1870 TT=1:PRINT TAB(30)"and it is Activated":SEC=2.2:GOSUB 1130
1880 ' ----------------------ACTIVATE TIME WARP
1890 C=INT(RND*8+1):D=INT(RND*8+1):G1=INT(RND*400+75):G=G-G1:IF G<1 THEN G=0
1900 GOSUB 1120:PRINT TAB(25)"You have been Teleported to an unknown":PRINT TAB(25)"location and you lost some of your Gold.":PRINT TAB(29)"You have ";G;" Gold pieces left":GOSUB 1320:RETURN
1910 GOSUB 1120:PRINT TAB(28)"You are at an Exit portal.":PRINT TAB(21)"The Key of Time is required to escape":RETURN
1920 GOSUB 1120:PRINT TAB(33)"Before you proceed":PRINT TAB(29)"you look on the ground and":PRINT TAB(32)"find the Key of Time":K=1:GOSUB 1320:GOTO 1510
1930 GOSUB 1120:PRINT TAB(26)"You enter the Exit portal and insert":PRINT TAB(30)"the Key of Time into the slot"
1940 PRINT TAB(31)"the machine begins to Buzz":SEC=2.5:GOSUB 1130
1950 CLS:LOCATE 6,23:PRINT "You found your way back to the Present":PRINT:PRINT TAB(23)"and you have acquired";G;" Gold pieces":PRINT
1960 R=INT((G*CA-7000+1)/M1):PRINT:PRINT TAB(32)"Game Rating is ";R:PRINT:PRINT
1970 PRINT TAB(23)"You took ";M1;" turns to find the way out":PRINT:PRINT:PRINT TAB(23)"You answered ";CA;" Question(s) Correctly,":PRINT
1980 PRINT TAB(29)"out of ";TR;" Questions asked.":GOTO 1680
1990 ' --------------------START OF QUESTION ROUTINE
2000 GOSUB 1120:PRINT TAB(7)" You are in a . Time Warp . a Pulsating Blue Glow indicates Activation":SEC=1:GOSUB 1130
2460 T1$=CHR$(218):FOR I=1 TO B-1:T1$=T1$+X1$:NEXT I:T1$=T1$+X$+CHR$(191)
2470 X$=STRING$(A-1,32):X1$=X$+CHR$(179):T2$=CHR$(179):FOR I=1 TO B:T2$=T2$+X1$:NEXT I
2480 X$=STRING$(A-1,196):X1$=X$+CHR$(197):T3$=CHR$(195):FOR I=1 TO B-1:T3$=T3$+X1$:NEXT I:T3$=T3$+X$+CHR$(180)
2490 X1$=X$+CHR$(193):T4$=CHR$(192):FOR I=1 TO B-1:T4$=T4$+X1$:NEXT I:T4$=T4$+X$+CHR$(217)
2500 CLS:C=(80-LEN(T2$))/2:R=R1:LOCATE R,C:PRINT T1$:FOR I=1 TO D*R2:PRINT TAB(C)T2$:NEXT I
2510 R=R1:FOR I=1 TO D-1:R=R+R2:LOCATE R,C:PRINT T3$:NEXT I:R=R+R2:LOCATE R,C:PRINT T4$
2520 LOCATE 9,1:COLOR 0,7:PRINT " Year you are in ":COLOR 7,0:LOCATE 9,66:COLOR 0,7:PRINT " You have ";:COLOR 7,0
2530 ' ------------------------SET PORT VARIABLES
2540 FOR X=1 TO 8:FOR Y=1 TO 8:A(X,Y)=INT(RND*6+1):NEXT Y:NEXT X ' -----SET UP PORTALS
2550 H=INT(RND*3+2):FOR N=1 TO H:X=INT(RND*8+1):Y=INT(RND*8+1):A(X,Y)=7:NEXT N ' ----- Traps
2560 FOR X=1 TO 8:FOR Y=1 TO 8:IF A(X,Y)=3 THEN B=B+1
2570 NEXT Y:NEXT X
2580 IF B>21 THEN 2600
2590 Q=20-B:FOR N=1 TO Q:X=INT(RND*8+1):Y=INT(RND*8+1):A(X,Y)=3:NEXT N ' ----- Question Port
2600 S=INT(RND*4+2):FOR N=1 TO S:X=INT(RND*8+1):Y=INT(RND*8+1):A(X,Y)=8:NEXT N '---- Exit portals
2610 RETURN
2620 Z$="":LOCATE ,,1
2630 Y$=INKEY$
2640 X=X+1
2650 IF X>32700 THEN X=-32700
2660 IF Y$="" OR LEN(Y$)>1 THEN 2630
2670 Y=ASC(Y$):IF Y=13 THEN RETURN
2680 IF Y=8 AND LEN(Z$)>0 THEN Z$=LEFT$(Z$,LEN(Z$)-1):PRINT CHR$(29);" ";CHR$(29);:GOTO 2630
2690 Z$=Z$+Y$:PRINT Y$;:GOTO 2630
2700 CLS:LOCATE 3,6:COLOR 15:PRINT "I N S T U C T I O N S T I M E T R A V E L I N H I S T O R Y":COLOR 7:RESTORE
2710 LOCATE 13,14:PRINT "Do you wish instructions to print on ";:COLOR 31:PRINT "S";:COLOR 7:PRINT "creen or ";:COLOR 31:PRINT "P";:COLOR 7:PRINT "rinter ";
2720 Y$=INKEY$:IF Y$="" OR LEN(Y$)>1 THEN 2720
2730 IF Y$="S" OR Y$="s" THEN CON=1:PAGELEN = 18:GOTO 2790
2740 IF Y$="P" OR Y$="p" THEN CON=2:PAGELEN = 54:PRINT Y$:GOTO 2760
2750 GOTO 2720
2760 LOCATE 16,22:PRINT "Do you want to pause for paper change ";:Y$=INPUT$(1):IF Y$="Y" OR Y$="y" THEN PRI=1
2770 LOCATE 18,25:COLOR 15:PRINT "Is the Printer on and ready (Y/N) ";
2780 Y$=INPUT$(1):IF Y$="Y" OR Y$="y" THEN 2800 ELSE 2780
2790 CLS:LOCATE 1,6:COLOR 15:PRINT "I N S T U C T I O N S T I M E T R A V E L I N H I S T O R Y":COLOR 7:PRINT STRING$(79,196):PRINT
2800 IF CON=2 THEN LPRINT TAB(11)"I N S T R U C T I O N S T I M E T R A V E L I N H I S T O R Y":LPRINT STRING$(79,95)
2810 FOR I= 1 TO PAGELEN
2820 READ A$
2830 IF A$="END" THEN 2870
2840 IF CON=1 THEN PRINT TAB(9)A$ ELSE LPRINT TAB(9)A$
2850 NEXT I:IF CON=2 THEN LPRINT CHR$(12)
2860 IF PRI=1 THEN LOCATE 25,28:PRINT "Press any key to continue ";:Y$=INPUT$(1)
2870 IF CON=1 THEN LOCATE 25,28:PRINT "Press any key to continue ";:Y$=INPUT$(1):CLS:LOCATE 1,6:COLOR 15:PRINT "I N S T U C T I O N S T I M E T R A V E L I N H I S T O R Y":COLOR 7:PRINT STRING$(79,196):PRINT
2880 IF A$="END" THEN 490
2890 GOTO 2810
2900 DATA " This is an Educational game using time travel and memory drill"
2910 DATA "to teach history. The program is designed so that you can alter"
2920 DATA "the questions to teach or memorize any history period or subject."
2930 DATA " "
2940 DATA "To read the instructions on changing the Question and Menu,"
2950 DATA "Press, 'G' then read the instructions contained in that program. "
2960 DATA " "
2970 DATA " There are two ways of selecting the period you wish to study."
2980 DATA "You may have noticed on the menu that the first Period is printed"
2990 DATA "inversed and that there is a more detailed explanation at the"
3000 DATA "bottom of the screen. By using the arrow keys you can move the"
3100 DATA "Inversed around the menu and the explanation line will change to"
3110 DATA "to suit the subject or period. If you Press ENTER when a subject"
3120 DATA "is inversed, you will automatically go to that period. The second"
3130 DATA "method of selecting the period you wish, is to Press the first"
3140 DATA "Letter. You will notice that the first letter of each period is"
3150 DATA "flashing and brighter then the rest of that line. This highlights"
3160 DATA "the letter to be pressed."
3170 DATA " "
3180 DATA " You will now be asked to Enter your Name. Your name is used"
3190 DATA "many times in the program to make it more personal. After your"
3200 DATA "name Press Enter, then Enter the year. You can use 83 or 1983,"
3210 DATA "both are acceptable."
3220 DATA " "
3230 DATA " You will now be transported back in time to study the time"
3240 DATA "period you have chosen. Your mission, if you choose to accept it,"
3250 DATA "is to find the Crystal Key of Time. It is imperative that the key"
3260 DATA "be found before history is changed forever. If the key gets"
3270 DATA "into the wrong hands, it will change the balance of power, giving"
3280 DATA "the key holder the power to control the world, thus becoming the"
3290 DATA "first world dictator. Once you have found the Crystal Key of time"
3300 DATA "go to the nearest EP (Exit Portal) and return to the present."
3310 DATA " "
3320 DATA " You are given 1000 pieces of gold, guard it well. There are"
3330 DATA "many pitfalls and unfriendly travelers that will steal your"
3340 DATA "Gold. There are also friendly travelers who may give you Gold."
3350 DATA "You can also win gold by answering History questions correctly,"
3360 DATA "however, if you give the wrong answer you will lose gold. You do"
3370 DATA "not know what any portal holds. It could be goodies or trouble."
3380 DATA "To move you use the arrow keys, as you pass through a portal,"
3390 DATA "the computer labels it for future reference. The labels IA="
3400 DATA "Inactive time portal, FT= Fellow time traveler, QP= Question"
3410 DATA "portal, NS=North South corridor (you can only move North or South"
3420 DATA "EW= East West corridor, TW = Time warp portal (It will not always"
3430 DATA "activate), EP = Exit portal (you will have to be at an Exit"
3440 DATA "portal with the key of time to return to the present) and lastly"
3450 DATA "there is ED = Escape Door. Be careful of this one, it holds great"
3460 DATA "rewards, gold, the key, or hazards, you could be time warped and"
3470 DATA "lose some of your gold. The door could also be locked."
3480 DATA " "
3490 DATA " You may travel all over the time/space station without finding"
3500 DATA "the key. It's there, you just did not see it, so go around again."
3510 DATA " "
3520 DATA " When you have completed your mission, you will be graded on"
3530 DATA "your performance. The Number of questions answered correctly, the"
3540 DATA "amount of gold you returned with and the number of moves taken."